<table id="table_produit" >  
	<tr>
		<td class="image" rowspan=9><img src="<?php echo $data->urlImage ?>" alt="<?php echo $data->nom ?>" height="180px" width="180px"/></td>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('nom')); ?></td>
		<td class="valeur">: <?php echo CHtml::link(CHtml::encode($data->nom), array('view', 'id'=>$data->id)); ?></td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('id_categorie')); ?>
		<td class="valeur">: <?php echo CHtml::encode($data->categorie->libelle); ?></td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('id_type')); ?></td>
		<td class="valeur">: <?php echo CHtml::encode($data->type->libelle); ?></td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('poids')); ?>
		<td class="valeur">: <?php echo CHtml::encode($data->poids); ?> g</td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('dimension')); ?></td>
		<td class="valeur">: <?php echo CHtml::encode($data->dimension); ?></td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('quantite')); ?></td>
		<td class="valeur">: <?php echo CHtml::encode($data->quantite); ?></td>
	</tr>
	<tr>
		<td class="label"><?php echo CHtml::encode($data->getAttributeLabel('prix')); ?></td>
		<td class="valeur">: <?php echo CHtml::encode($data->prix); ?> &euro;</td>
	</tr>
	<tr>
		<td class="artiste" colspan=2>Créée par <?php echo Chtml::link(Chtml::encode($data->artiste->client->nom)." ".CHtml::encode($data->artiste->client->prenom), array("/artiste/view","id"=>$data->id_artiste)); ?> </td>
	</tr>
	<tr>
		<td colspan=3>
			<table>
				<tr>
					<td>
						<?php echo Chtml::form(array('/produit/ficheDetaillee'))?>
						<?php echo Chtml::hiddenField("id",$data->id)?>
						<?php echo CHtml::submitButton('Fiche détaillée'); ?>
						<?php echo Chtml::endForm()?>
					</td>
					<td>
						<?php echo Chtml::form(array('/panier/ajouter'))?>
						<?php echo Chtml::hiddenField("idProduit",$data->id)?>
						<?php echo CHtml::submitButton('Ajouter au panier'); ?>
						<?php echo Chtml::endForm()?>
					</td>
				</tr>
			</table>
		</td>
	</tr>
			<?php /*
			<b><?php echo CHtml::encode($data->getAttributeLabel('id_artiste')); ?>:</b>
			<?php echo CHtml::encode($data->id_artiste); ?>
			<br />		*/ ?>
		</td>
	</tr>
</table>